/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package SessionBeans;

import Entidades.Consultas;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
 *
 * @author Felipe
 */
@Stateless
public class ConsultasFacade extends AbstractFacade<Consultas> implements ConsultasFacadeLocal {
    @PersistenceContext(unitName = "Vacas-MSDBPU")
    private EntityManager em;

    protected EntityManager getEntityManager() {
        return em;
    }

    public ConsultasFacade() {
        super(Consultas.class);
    }
    
}
